package com.atguigu.infrastructure.persistent.po;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
//用户积分账户
public class UserCreditAccount {
    private Long id;
    private String userId;
    private BigDecimal totalAmount;
    private BigDecimal availableAmount;
    /** 账户状态【open - 可用，close - 冻结】 */
    private String accountStatus;
    private Date createTime;
    private Date updateTime;
}
